package com.qfedu.entity.user.score;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * score
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Score implements Serializable {
    private Integer gid;

    private Integer uid;

    private String gOper;

    private Integer gNum;


    private static final long serialVersionUID = 1L;

    //积分变化
    public Score(int uid, String oper, int changeScore) {
        this.uid=uid;
        this.gOper=oper;
        this.gNum=changeScore;
    }
}